package com.oa.bean;

/**
 * TClasses entity. @author MyEclipse Persistence Tools
 */

public class TClasses implements java.io.Serializable {

	// Fields

	private Integer classid;
	private String classname;
	private Integer classcount;
	private Integer empteach;
	private Integer empteachs;
	private Integer empteaches;
	private String classaddr;

	// Constructors

	/** default constructor */
	public TClasses() {
	}

	/** full constructor */
	public TClasses(String classname, Integer classcount, Integer empteach,
			Integer empteachs, Integer empteaches, String classaddr) {
		this.classname = classname;
		this.classcount = classcount;
		this.empteach = empteach;
		this.empteachs = empteachs;
		this.empteaches = empteaches;
		this.classaddr = classaddr;
	}

	// Property accessors

	public Integer getClassid() {
		return this.classid;
	}

	public void setClassid(Integer classid) {
		this.classid = classid;
	}

	public String getClassname() {
		return this.classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public Integer getClasscount() {
		return this.classcount;
	}

	public void setClasscount(Integer classcount) {
		this.classcount = classcount;
	}

	public Integer getEmpteach() {
		return this.empteach;
	}

	public void setEmpteach(Integer empteach) {
		this.empteach = empteach;
	}

	public Integer getEmpteachs() {
		return this.empteachs;
	}

	public void setEmpteachs(Integer empteachs) {
		this.empteachs = empteachs;
	}

	public Integer getEmpteaches() {
		return this.empteaches;
	}

	public void setEmpteaches(Integer empteaches) {
		this.empteaches = empteaches;
	}

	public String getClassaddr() {
		return this.classaddr;
	}

	public void setClassaddr(String classaddr) {
		this.classaddr = classaddr;
	}

	@Override
	public String toString() {
		return "TClasses [classid=" + classid + ", classname=" + classname + ", classcount=" + classcount
				+ ", empteach=" + empteach + ", empteachs=" + empteachs + ", empteaches=" + empteaches + ", classaddr="
				+ classaddr + "]";
	}

}